//
//  TYAttackSystemProtocol.h
//  AngerDragon
//
//  Created by gaotime_macbook_2 on 11-12-19.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "cocos2d.h"

/// 攻击系统协议
@protocol TYAttackSystemProtocol

@required
/// 从目标点发动攻击
- (void) attackFromPoint:(CGFloat) a_f_x 
										 atY:(CGFloat) a_f_y 
							 timeDelta:(ccTime) delta;/// 会根据设置的攻击频率进行攻击

/// 设置攻击距离
- (void) setAttackDistance:(CGFloat) a_f_attack_distance;
/// 获取攻击距离
- (CGFloat) getAttackDistance;

/// 设置攻击频率
- (void) setAttackFrequency:(CGFloat) a_f_attack_frequency;

@end
